namespace NewsReport.Entity.POCOModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("MessageInfo")]
    public partial class MessageInfo
    {
        [Key]
        public int MID { get; set; }

        [Required]
        [StringLength(100)]
        public string MContet { get; set; }

        public DateTime MTime { get; set; }

        public int? Usid { get; set; }

        public int? PrID { get; set; }

        public virtual Promulgator Promulgator { get; set; }

        public virtual UserLogin UserLogin { get; set; }
    }
}
